Skip to content

Instantly share code, notes, and snippets.

@imba-tjd
imba-tjd / .Cloud.md
Last active February 10, 2026 02:46
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.

其他人的集合

@shadowandy
shadowandy / Setting up Kobo synchronisation with Calibre-Web and Nginx Proxy Manager (NPM).md
Last active February 10, 2026 02:45
Setting up Kobo synchronisation with Calibre-Web and Nginx Proxy Manager (NPM)

Introduction

This article guides you through the process of setting up the Nginx Proxy Manager (NPM) and Calibre-Web to allow collections and books to be synchronised to the Kobo e-reader. Other features like access to Kobo store, Overdrive, Google Drive and Dropbox will not be affected.

Important

  • What is articulate in the rest of this article is to enable public secured Internet accessible synchronisation endpoint for Kobo e-reader.
  • Calibre-Web presents book download endpoint as HTTP (non-HTTPS) with a port number. Other than the implicit understanding that HTTP and HTTP runs on port 80/tcp and 443/tcp respectively, it is not possible to have both HTTP and HTTPS running on the same port number (e.g., 20080/tcp).
  • Only EPUB formatted books can be synchronised. That is, other formats like PDF won't be synchronised due to restrictions on Kobo e-reader.
@jaens
jaens / zod-deep-strict-partial.ts
Last active February 10, 2026 02:40
Zod deep strict and `deepPartial` utility
/*
Copyright 2024, Jaen - https://github.com/jaens
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@DMontgomery40
DMontgomery40 / CODEX.md
Last active February 10, 2026 02:33
Ralph audit loop: Codex CLI read-only code audit runner

Ralph Audit Agent Instructions (OpenAI Codex)


Safety Notice (Customize)

If this codebase is production, handles money, or touches sensitive data: treat this audit loop as a high-risk operation. Run with least privilege, avoid exporting long-lived credentials in your shell, and keep the agent in read-only mode.


@notch1p
notch1p / abstractStory1.md
Created October 9, 2022 10:22
Allen Zhang on his way to visit his mother.

张小龙探亲记

微博@麦芽原浆

声明 本故事纯属虚构,如有雷同,还有这种好事?

(一)

张小龙离开家出差了一段时间,回家的时候发现家门口特别热闹,但走近一看大家却都哭丧着脸。张小龙觉得很奇怪,排开人群想进到家里去看看到底发生了什么,却被哥哥拦了下来。

ID: 28; Name: RockOutA
ID: 46; Name: RockOut_B
ID: 19; Name: Number1
ID: 47; Name: RollBack
ID: 8; Name: ClassicalDance
ID: 33; Name: BestFriend
ID: 3; Name: BlowKiss
ID: 0; Name: BodyPop
ID: 34; Name: BringIt
ID: 35; Name: CantHearYou
@digitalknk
digitalknk / openclaw-guide.md
Last active February 10, 2026 02:31
Running OpenClaw Without Burning Money, Quotas, or Your Sanity

Running OpenClaw Without Burning Money, Quotas, or Your Sanity

TL;DR

OpenClaw is useful, but most of the pain people run into comes from letting one model do everything, chasing hype, or running expensive models in places that don't need them.

What worked for me was treating OpenClaw like infrastructure instead of a chatbot. Keep a cheap model as the coordinator, use agents for real work, be explicit about routing, and make memory and task state visible. Cheap models handle background work fine. Strong models are powerful when you call them intentionally instead of leaving them as defaults.

You don't need expensive hardware, and you don't need to host giant local models to get value out of this. Start small, get things stable before letting it run all the time, and avoid the hype train. If something feels broken, check the official docs and issues first. OpenClaw changes fast, and sometimes it really is just a bug.

@slowkow
slowkow / remove-emoji.py
Created July 19, 2018 14:10
Remove all traces of emoji from a text file.
#!/usr/bin/env python
"""
Remove emoji from a text file and print it to stdout.
Usage
-----
python remove-emoji.py input.txt > output.txt
"""
# Create a new worktree and branch from within current git directory.
ga() {
if [[ -z "$1" ]]; then
echo "Usage: ga [branch name]"
exit 1
fi
local branch="$1"
local base="$(basename "$PWD")"
local path="../${base}--${branch}"
@norton-geo
norton-geo / teampg.py
Created February 8, 2026 06:02
teampg pair finder, sorry this code is bad but it works for me
#! /usr/bin/env pypy3
import csv
import math
import multiprocessing
import multiprocessing.pool
import geopy
import geopy.distance
import os
import sys